home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 2936 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.5 KB

  1. Path: amaryllisp1.appsig.com!user
  2. From: larry_kearney@appsig.com (Lawrence Kearney)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Very Beginner Question with Think C
  5. Date: Wed, 24 Jan 1996 17:00:38 -0700
  6. Organization: Applied Signal Technology
  7. Message-ID: <larry_kearney-2401961700380001@amaryllisp1.appsig.com>
  8. References: <tkuntz-2401961743180001@arctic-0.vf.pond.com>
  9. NNTP-Posting-Host: amaryllisp1.appsig.com
  10.  
  11. > Hi-
  12. > I'm taking a course in C at the local Community College and we were to
  13. > enter, compile and run the following program:
  14. > #include "stdio.h"
  15. > ...deleted...
  16. > My problem is that when I run it on my Think C compiler at home I get the
  17. > message 'link failed'.  What am I doing wrong?
  18. > My class works on DOS IBM compatible machines and I assume it will work at
  19. > school.  I was just hoping to be able to do some work at home on my Mac.
  20.  
  21. In your Think C project, you probably have not included the ANSI library
  22. along with your .c file(s). You can find it in the Think C directory tree
  23. in the "Standard Libraries" folder with the name ANSI. This library will
  24. contain all the standard ANSI C functions including printf and scanf.
  25.  
  26. To included, select "Add files..." in the source menu and navigate to the
  27. Standard Libraries folder and add the ANSI file to the project. If you
  28. have problems, refer to the documentations for the compiler.
  29.  
  30. -- 
  31. Larry Kearney                   |   "You want fries with that?"
  32. Applied Signal Technology       |
  33. larry_kearney@appsig.com        |
  34.